<%--
  Created by IntelliJ IDEA.
  User: 浮槎北冥海茫茫
  Date: 2021/7/10
  Time: 16:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> - 注册</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>

</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen   animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-name">H+</h1>

        </div>
        <h3>欢迎注册 </h3>
        <p>创建一个新账户</p>
        <form class="m-t" role="form" action="${pageContext.request.contextPath}/registerFindServlet" method="post">
           <%-- <div class="form-group">
                <input type="text" class="form-control" placeholder="请输入用户名" required="">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" placeholder="请输入密码" required="">
            </div>--%>
               <div class="form-group">

                   <input type="text" name="id" class="form-control" id="id" value="${user.id}" placeholder="请输入账号"/>
               </div>
               <div class="form-group">

                   <input type="text" name="username" class="form-control" id="username" value="${user.username}" placeholder="请输入用户名"/>
               </div>
               <div class="form-group">

                   <input type="password" name="password" class="form-control" id="password"value="${user.password}" placeholder="请输入密码"/>
               </div>

               <div class="form-group">

                   <input type="text" name="remark" class="form-control" id="remark" readonly="readonly" value="客户" placeholder="客户"/>
               </div>
               <div class="form-group">

                   <input type="text" name="position" class="form-control" id="position" readonly="readonly" value="1" placeholder="1"/>
               </div>


         <%--   <div class="form-group">
                <input type="password" class="form-control" placeholder="请再次输入密码" required="">
            </div>--%>
<%--            <div class="form-group text-left">--%>
<%--                <div class="checkbox i-checks">--%>
<%--                   --%>
<%--                       --%>
<%--                </div>--%>
<%--            </div>--%>
            <button type="submit" class="btn btn-primary block full-width m-b">注 册</button>

            <p class="text-muted text-center"><small>已经有账户了？</small><a href="login.jsp">点此登录</a>
            </p>

        </form>
        <div class="alert alert-warning alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" >
                <span></span></button>
            <%--指明用户已存在或者登录成功--%>
            <strong>${exist}${registerSuccess}</strong>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js"></script>
<script>
    $(document).ready(function () {
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green',
        });
    });
</script>




</body>

</html>
